package com.ace.lab.starter.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties("rpc.server")
@Setter
@Getter
public class RpcServerProperties {
    private int port = 2013;
    private int acceptThreadCount = 1;
    private int nioThreadCount = Runtime.getRuntime().availableProcessors();
    private int clientTimeOut = 0;
}
